SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52881: The columnDataGet method in the DS2 tap_table package for SAS® Real-Time Decision Manager might return a null array

DetailsAboutRate It

SAS Real-Time Decision Manager includes several DS2 utility packages that facilitate conversion between Java objects, such as tables and arrays, and DS2 objects. One of the DS2 objects that are defined in these utility packages is the tap_table, which holds table data. The columnDataGet method of the tap_table object returns an array containing all of the data that is contained in a specified column of the tap_table. However, the columnDataGet method incorrectly returns a null array in SAS Real-Time Decision Manager 6.1 (SAS® Decision Services 5.6).

This problem occurs because columnDataGet returns an array that is instantiated in a way that gives it only method scope:

array = _new_ tap_array();

Because the value of the tap_array must be returned from the method, the tap_array must be declared in way that gives it package scope:

array = _new_ [this] tap_array();


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Decision ServicesMicrosoft® Windows® for x645.66.29.3 TS1M09.4 TS1M0
64-bit Enabled AIX5.66.29.3 TS1M09.4 TS1M0
64-bit Enabled Solaris5.66.29.3 TS1M09.4 TS1M0
HP-UX IPF5.66.29.3 TS1M09.4 TS1M0
Linux for x645.66.29.3 TS1M09.4 TS1M0
Solaris for x645.66.29.3 TS1M09.4 TS1M0
SAS SystemSAS Real-Time Decision ManagerMicrosoft® Windows® for x646.16.39.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition6.16.39.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition6.16.39.2 TS2M0
Microsoft Windows Server 2003 Standard Edition6.16.39.2 TS2M0
Microsoft Windows Server 2003 for x646.16.39.2 TS2M0
Microsoft Windows Server 2008 R26.16.39.2 TS2M0
Microsoft Windows Server 2008 for x646.16.39.2 TS2M0
Microsoft Windows XP Professional6.16.39.2 TS2M0
Windows Vista6.16.39.2 TS2M0
Windows Vista for x646.16.39.2 TS2M0
64-bit Enabled AIX6.16.39.2 TS2M0
64-bit Enabled Solaris6.16.39.2 TS2M0
HP-UX IPF6.16.39.2 TS2M0
Linux for x646.16.39.2 TS2M0
Solaris for x646.16.39.2 TS2M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.